package com.msb.internalcommon.constant;

import lombok.Data;
import lombok.Getter;

/**
 * @author liukaihao
 * @date 2025/04/29
 */

public enum CommonStatusEnum {

    /**
     * 成功
     */

    SUCCESS(1,"success"),
    /**
     * 失败
     */

    FAIL(0,"fail");

    private int code;
    private String value;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    CommonStatusEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }



}
